package com.ruoyi.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * HR操作日志对象 hr_operate_log
 *
 * @author ruoyi
 * @date 2024-08-15
 */
public class HrOperateLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 简历id */
    @Excel(name = "简历id")
    private Long resumeId;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String type;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String content;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String advice;

    /** 补充内容 */
    @Excel(name = "补充内容")
    private String supplement;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setResumeId(Long resumeId)
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId()
    {
        return resumeId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setAdvice(String advice)
    {
        this.advice = advice;
    }

    public String getAdvice()
    {
        return advice;
    }
    public void setSupplement(String supplement)
    {
        this.supplement = supplement;
    }

    public String getSupplement()
    {
        return supplement;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("resumeId", getResumeId())
                .append("type", getType())
                .append("time", getTime())
                .append("operator", getOperator())
                .append("content", getContent())
                .append("advice", getAdvice())
                .append("supplement", getSupplement())
                .toString();
    }
}
